﻿namespace CombineRemoteAndLocalSchemaDemo.Api.GraphTypes;

[ExtendObjectType("Query")]
public class OrderResolver
{
    public OrderEntity GetOrder() => new OrderEntity
    {
        Title = "This is order service.",
    };

    public string GetCurrentTime() => DateTime.Now.ToString();
}

public class OrderEntity
{
    public string Title { get; set; } = default!;
}